cmake_minimum_required(VERSION 3.5.1)





add_library( digital_filter  digital_filter.cc  )
target_link_libraries( digital_filter
        cyber
        digital_filter_coefficients
        )



add_library( mean_filter  mean_filter.cc  )
target_link_libraries( mean_filter
        cyber
        )


add_library(digital_filter_coefficients digital_filter_coefficients.cc   )
target_link_libraries( digital_filter_coefficients
        digital_filter
        mean_filter
        )


add_library(filters )
target_link_libraries(filters 	
        digital_filter
        digital_filter_coefficients
        mean_filter
        )

install(TARGETS filters	
        digital_filter
        digital_filter_coefficients
        mean_filter	
            EXPORT  apollo-export
            LIBRARY DESTINATION lib
            ARCHIVE DESTINATION lib
            RUNTIME DESTINATION bin
            INCLUDES DESTINATION .
)


